package setvice;
import entity.User;

import java.util.List;

public interface UserService {
    boolean UserLogin(Integer id,String password);
    boolean AdministratorLogin(Integer id,String password);
    boolean registerUser(User user);
    User seekUserById(Integer id);
    boolean insertUser(User user);
    boolean deleteUserById(Integer id);
    boolean changeUserInformationById(Integer id, User user);
    List<User> seekAllUser();
    User seekUserByUserName(String userName);
}
